
export const tableOption = {
  height: 'auto',
  calcHeight: 'auto',
  searchShow: true,
  searchMenuSpan: 6,
  stripe: true,
  headerAlign: 'center',
  align: 'center',
  tip: false,
  tree: true,
  border: true,
  index: true,
  indexLabel: '序号',
  selection: true,
  viewBtn:false,
  editBtn:false,
  column: [{
    label: '索引健康',
    prop: 'health',
    addDisplay:false,
    span: 24
  },
    {
      label: '索引状态',
      prop: 'status',
      addDisplay:false,
      span: 24,
    },
    {
    width: 200,
    label: '索引名',
    prop: 'index',
    overHidden: true,
    addDisplay:false,
    span: 24
  },
    {
    label: '文档数',
    prop: 'docsCount',
    addDisplay:false,
    span: 24
  }, {
      width: 100,
      label: '文档删除数',
      prop: 'docsDeleted',
      addDisplay:false,
      span: 24
  },
    {
      label: '索引大小',
      prop: 'storeSize',
      addDisplay:false,
      span: 24
    },
    {
      label: '索引名',
      prop: 'indexName',
      placeholder: '请输入索引名',
      addDisplay:true,
      hide: true,
      span: 24
    },
    {
      label: '分片数',
      prop: 'numberOfShards',
      placeholder: '请输入分片数',
      addDisplay:true,
      hide: true,
      span: 24
    },
    {
      label: '副本数',
      prop: 'numberOfReplicas',
      placeholder: '请输入副本数',
      addDisplay:true,
      hide: true,
      span: 24
    },
    {
      label: '类型',
      prop: 'type',
      addDisplay:true,
      hide: true,
      span: 24
    },
    {
      label: 'mappings',
      prop: 'mappingsSource',
      placeholder: '请输入mappings的JSON内容',
      addDisplay:true,
      hide: true,
      type: "textarea",
      minRows:4,
      span: 24
    }
  ]
}
